﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using facebook.Components;
using facebook.desktop;
using facebook.Forms;
using facebook.Schema;
using facebook.Types;
using facebook.Utility;
using Microsoft.Xml;


namespace PhotoMonkey
{
    public partial class Formprofile : Form
    {
        user user;
        public Formprofile(user user)
        {
           
            InitializeComponent();
            this.user = user;
            
        }

        private void profileForm_Load(object sender, EventArgs e)
        {
            try
            {
                if (user != null)
                {
                    profile.User = user;
                    this.Text = "Profile of " + user.name;

                }
                else
                {
                    this.Close();
                }

            }
           catch(Exception ex)
            {

           }

        }
    }
}
